

#import "myAskBoard.h"

@interface myAskBoard ()

@end

@implementation myAskBoard

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
   
}



ON_CREATE_VIEWS(signal)
{
    self.title=[NSString stringWithFormat:@"创业问答"];
    [self showNaviBar];
    
    // 创业问答 链接的网址
    BeeUIWebView* myWebview=[BeeUIWebView spawn];
    myWebview.url=[NSString stringWithFormat:@"http://ask.iheima.com"];
     [self showBarButton:BeeUINavigationBar.LEFT image:IMAGESTRING(@"navi_back")];
    myWebview.frame=CGRectMake(0, 0, self.viewWidth, self.viewHeight-((IOS7_OR_LATER)?64:44));
    
  [self showBarButton:BeeUINavigationBar.LEFT image:IMAGESTRING(@"navi_back")];
    [self.view addSubview:myWebview];
}

ON_DID_APPEAR(signal)
{
    [self.navigationController setNavigationBarHidden:NO animated:YES];
}

@end
